package com.itheima.domain.system;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 模块、菜单
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Module extends Role {
    private String id;
    /**父菜单*/
    private String parentId;
    /**模块名(菜单名)*/
    private String name;
    /**类型(0 主菜单、根菜单  1 二级菜单  2 按钮)*/
    private Long ctype;
    /**状态1可用 2不可用*/
    private Long state;
    /**请求url，当前菜单的访问路径*/
    private String curl;
    /**备注，描述*/
    private String remark;

    /**上级菜单*/
    private Module module;

}
